package GameScript.center;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@MapperScan("GameScript.center.dao")//告诉mapper所在的包名
public class App 
{
    public static void main( String[] args )
    {
    	SpringApplicationBuilder context = new SpringApplicationBuilder(
    			App.class);
    	context.run(args);
    	// 输出变量
    	//System.out.println(context.context().getEnvironment().getProperty("jdbc"));
    }
}
